<template>
  <div class="title">
      <slot></slot>
  </div>
</template>

<script>
export default {
  // 小导航组件
  name: 'Title',

  data() {
    return {
      
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style scoped>
.title{
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: gray;
  padding-left: 10px;
  color: white;
  border-radius: 3px;
  box-shadow: 0 0 2px gray;
  font-size: 0.8rem;
}
</style>